Field mapping is rarely a one-to-one process. Often, you need to transform source data before it can be loaded into the destination. This is the "formula" of data migration.
| Transformation Type | Example Logic | Use Case |
|---|---|---|
| Concatenation | [First Name] + " " + [Last Name] | Creating a "Full Name" field from separate first and last name fields. |
| Cleaning | TRIM([Email]) | Removing leading/trailing whitespace from email addresses. |
| Standardization | IF([Country] = "USA", "United States", ...) | Converting source values to match the picklist values in your CRM. |
| Splitting | SPLIT([Full Name], " ") | Separating a "Full Name" field into "First Name" and "Last Name". |
VLOOKUP, TRIM, CONCATENATE, and IF are essential.This is a simplified example of a mapping document for importing leads.
| Source Field (from CSV) | Destination Field (in CRM) | Data Type | Transformation Notes |
|---|---|---|---|
first_name |
First Name |
Text | Use formula to capitalize the first letter. |
last_name |
Last Name |
Text | Use formula to capitalize the first letter. |
email |
Email |
Use TRIM() to remove whitespace. Validate format. |
|
country_code |
Country |
Picklist | Must match CRM values. Use VLOOKUP to convert "US" to "United States". |
notes |
Notes |
Text Area (Long) | Concatenate with lead creation date: [notes] + " | Imported on 2025-10-08" |
Scenario: You have a CSV file of leads from a trade show. You need to import them into your CRM as new "Lead" records.
Challenge: The CSV has a single "Name" column and a "Source" column with the value "Q4 Trade Show". Your CRM requires separate "First Name" and "Last Name" fields and has a "Lead Source" picklist that doesn't include "Q4 Trade Show".
Solution in Spreadsheet:
SPLIT function) to separate the "Name" column into new "First Name" and "Last Name" columns.=IF(B2="Q4 Trade Show", "Trade Show", B2).